#include <cassert>
#include <iostream>

using namespace std;

int main() {
  // 最好只对无符号数进行位操作
  unsigned a = 0;
  cout << (~a) << "\n";
  a = 10;
  cout << (~a) << "\n";

  bool b[100];
  int c[100];
  cout << sizeof(b) << endl;
  cout << sizeof(c) << endl;

  bool *bp;
  bp = new bool[1000];
  cout << sizeof(bp) << endl;

  cout << sizeof(float) << endl;

  return 0;
}